@extends('admin.layout.app')

@section('title', '大事记')

@section('content')
    <div class="layui-col-lg12">
        <div class="layui-card">
            <div class="layui-card-body">
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
                    <legend>时间线：大事记</legend>
                </fieldset>
                <ul class="layui-timeline">
                {{-- <li class="layui-timeline-item">
                    <i class="layui-icon layui-timeline-axis"></i>
                    <div class="layui-timeline-content layui-text">
                    <div class="layui-timeline-title">2018年10月10日，首个版本发布</div>
                    </div>
                </li> --}}
                @foreach ($items ?? [] as $date => $item)
                <li class="layui-timeline-item">
                    <i class="layui-icon layui-timeline-axis"></i>
                    <div class="layui-timeline-content layui-text">
                    <div class="layui-timeline-title">{{$date}}，{{$item}}</div>
                    </div>
                </li>
                @endforeach
                <li class="layui-timeline-item">
                    <i class="layui-icon layui-anim layui-anim-rotate layui-anim-loop layui-timeline-axis"></i>
                    <div class="layui-timeline-content layui-text">
                    <div class="layui-timeline-title">更久前，我们一直在孵化</div>
                    </div>
                </li>
                </ul>
            </div>
        </div>
    </div>
@endsection

